package com.wn.study.repository.data

data class Daily(
    val adExist: Boolean, // false
    val count: Int, // 22
    val itemList: List<Item>,
    val nextPageUrl: String?, // http://baobab.kaiyanapp.com/api/v5/index/tab/feed?date=1689037200000&num=2
    val total: Int, // 0
) {
  data class Item(
      val adIndex: Int, // -1
      val `data`: Data,
      val id: Int, // 0
      val tag: Any?, // null
      val trackingData: Any?, // null
      val type: String, // textCard
  ) {
    data class Data(
        val actionUrl: Any?, // null
        val adTrack: List<Any>?,
        val content: Content?,
        val dataType: String, // TextCard
        val follow: Any?, // null
        val header: Header?,
        val id: Int, // 0
        val subTitle: Any?, // null
        val text: String?, // 今日开眼精选
        val type: String?, // header5
    ) {
      data class Content(
          val adIndex: Int, // -1
          val `data`: Data,
          val id: Int, // 0
          val tag: Any?, // null
          val trackingData: Any?, // null
          val type: String, // video
      ) {
        data class Data(
            val ad: Boolean, // false
            val adTrack: List<Any>,
            val author: Author,
            val brandWebsiteInfo: Any?, // null
            val campaign: Any?, // null
            val category: String, // 记录
            val collected: Boolean, // false
            val consumption: Consumption,
            val cover: Cover,
            val dataType: String, // VideoBeanForClient
            val date: Long, // 1689210000000
            val description: String, // 爱媛是日本新兴的旅游胜地之一，其距离东京只有很短的航程，位于日本四大岛屿中最小的四国岛上。在本期的视频中，VICE 派出记者 KTea 前往爱媛，考察该地区独特的可持续旅游体验，包括历史悠久的小津市城堡区，以及该地区的首府松山。From VICE
            val descriptionEditor: String, // 爱媛是日本新兴的旅游胜地之一，其距离东京只有很短的航程，位于日本四大岛屿中最小的四国岛上。在本期的视频中，VICE 派出记者 KTea 前往爱媛，考察该地区独特的可持续旅游体验，包括历史悠久的小津市城堡区，以及该地区的首府松山。From VICE
            val descriptionPgc: String,
            val duration: Int, // 703
            val favoriteAdTrack: Any?, // null
            val id: Int, // 318895
            val idx: Int, // 0
            val ifLimitVideo: Boolean, // false
            val label: Any?, // null
            val labelList: List<Any>,
            val lastViewTime: Any?, // null
            val library: String, // DAILY
            val playInfo: List<PlayInfo>,
            val playUrl: String, // http://baobab.kaiyanapp.com/api/v1/playUrl?vid=318895&resourceType=video&editionType=default&source=aliyun&playUrlType=url_oss&udid=
            val played: Boolean, // false
            val playlists: Any?, // null
            val promotion: Any?, // null
            val provider: Provider,
            val reallyCollected: Boolean, // false
            val recallSource: Any?, // null
            val recall_source: Any?, // null
            val releaseTime: Long, // 1689211005000
            val remark: String?, // https://www.xinpianchang.com/a12605983?from=ArticleList
            val resourceType: String, // video
            val searchWeight: Int, // 0
            val shareAdTrack: Any?, // null
            val slogan: String?,
            val src: Any?, // null
            val subtitles: List<Any>,
            val tags: List<Tag>,
            val thumbPlayUrl: String?,
            val title: String, // 日本冷门小岛之旅，生活是钓完鱼就看书
            val titlePgc: String, // 记录f
            val type: String, // NORMAL
            val videoPosterBean: Any?, // null
            val waterMarks: Any?, // null
            val webAdTrack: Any?, // null
            val webUrl: WebUrl,
        ) {
          data class Author(
              val adTrack: Any?, // null
              val approvedNotReadyVideoCount: Int, // 0
              val description: String, // 「每部电影都是一部纪录片」——比尔·尼科尔斯
              val expert: Boolean, // false
              val follow: Follow,
              val icon: String, // http://ali-img.kaiyanapp.com/a2fc6d32ac0b4f2842fb3d545d06f09b.jpeg
              val id: Int, // 2166
              val ifPgc: Boolean, // true
              val latestReleaseTime: Long, // 1689211005000
              val link: String,
              val name: String, // 开眼记录精选
              val recSort: Int, // 0
              val shield: Shield,
              val videoNum: Int, // 917
          ) {
            data class Follow(
                val followed: Boolean, // false
                val itemId: Int, // 2166
                val itemType: String, // author
            )

            data class Shield(
                val itemId: Int, // 2166
                val itemType: String, // author
                val shielded: Boolean, // false
            )
          }

          data class Consumption(
              val collectionCount: Int, // 27
              val realCollectionCount: Int, // 41
              val replyCount: Int, // 4
              val shareCount: Int, // 11
          )

          data class Cover(
              val blurred: String, // http://ali-img.kaiyanapp.com/824ac366a4318c31633b8a8e2c11e856.png?imageMogr2/quality/60/format/jpg
              val detail: String, // http://ali-img.kaiyanapp.com/2e2e955702ff69c9500b0e781af06ee4.png?imageMogr2/quality/60/format/jpg
              val feed: String, // http://ali-img.kaiyanapp.com/2e2e955702ff69c9500b0e781af06ee4.png?imageMogr2/quality/60/format/jpg
              val homepage: String, // http://img.kaiyanapp.com/2e2e955702ff69c9500b0e781af06ee4.png?imageView2/1/w/720/h/560/format/jpg/q/75|watermark/1/image/aHR0cDovL2ltZy5rYWl5YW5hcHAuY29tL2JsYWNrXzMwLnBuZw==/dissolve/100/gravity/Center/dx/0/dy/0|imageslim
              val sharing: Any?, // null
          )

          data class PlayInfo(
              val height: Int, // 720
              val name: String, // 高清
              val type: String, // high
              val url: String, // http://baobab.kaiyanapp.com/api/v1/playUrl?vid=318895&resourceType=video&editionType=high&source=aliyun&playUrlType=url_oss&udid=
              val urlList: List<Url>,
              val width: Int, // 1280
          ) {
            data class Url(
                val name: String, // aliyun
                val size: Int, // 94788979
                val url: String, // http://baobab.kaiyanapp.com/api/v1/playUrl?vid=318895&resourceType=video&editionType=high&source=aliyun&playUrlType=url_oss&udid=
            )
          }

          data class Provider(
              val alias: String, // youtube
              val icon: String, // http://ali-img.kaiyanapp.com/fa20228bc5b921e837156923a58713f6.png
              val name: String, // YouTube
          )

          data class Tag(
              val actionUrl: String, // eyepetizer://tag/743/?title=%E8%AE%B0%E5%BD%95%E7%B2%BE%E9%80%89
              val adTrack: Any?, // null
              val bgPicture: String, // http://img.kaiyanapp.com/a082f44b88e78daaf19fa4e1a2faaa5a.jpeg?imageMogr2/quality/60/format/jpg
              val childTagIdList: Any?, // null
              val childTagList: Any?, // null
              val communityIndex: Int, // 0
              val desc: String?, // 匠心、健康、生活感悟
              val haveReward: Boolean, // false
              val headerImage: String, // http://img.kaiyanapp.com/a082f44b88e78daaf19fa4e1a2faaa5a.jpeg?imageMogr2/quality/60/format/jpg
              val id: Int, // 743
              val ifNewest: Boolean, // false
              val name: String, // 记录精选
              val newestEndTime: Any?, // null
              val tagRecType: String, // IMPORTANT
          )

          data class WebUrl(
              val forWeibo: String, // https://m.eyepetizer.net/u1/video-detail?video_id=318895&resource_type=video&utm_campaign=routine&utm_medium=share&utm_source=weibo&uid=0
              val raw: String, // http://www.eyepetizer.net/detail.html?vid=318895
          )
        }
      }

      data class Header(
          val actionUrl: String, // eyepetizer://pgc/detail/2166/?title=%E5%BC%80%E7%9C%BC%E8%AE%B0%E5%BD%95%E7%B2%BE%E9%80%89&userType=PGC&tabIndex=1
          val cover: Any?, // null
          val description: String, // #记录 / 收录于 每日编辑精选
          val font: Any?, // null
          val icon: String, // http://ali-img.kaiyanapp.com/a2fc6d32ac0b4f2842fb3d545d06f09b.jpeg
          val iconType: String, // round
          val id: Int, // 318895
          val label: Any?, // null
          val labelList: Any?, // null
          val rightText: Any?, // null
          val showHateVideo: Boolean, // false
          val subTitle: Any?, // null
          val subTitleFont: Any?, // null
          val textAlign: String, // left
          val time: Long, // 1689211005000
          val title: String, // 开眼记录精选
      )
    }
  }
}